<template>
  <li>
    <div>
      <span class="icon">
        <i class="fa" :class="iconClass" aria-hidden="true"></i>
      </span>
      <span class="title">
        <slot></slot>
      </span>
    </div>
  </li>
</template>

<script lang="ts" setup>
import { withDefaults } from 'vue'
withDefaults(defineProps<{
  iconClass: string
}>(), {
  iconClass: 'fa-search'
})  
</script>